﻿<%@ Page Title="" Language="C#" 
    MasterPageFile="~/Areas/Administration/Views/Shared/MgmAdministration.master" 
    Inherits="System.Web.Mvc.ViewPage<Skynet.BusinessEntities.ExamCategory>" %>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    
	<% Html.EnableClientValidation(); %>
	<% using (Html.BeginForm()) {%>
		<%: Html.ValidationSummary(true) %>

		<fieldset>
			<legend>Create exam category</legend>   
			<div class="editor-label">
				<%: Html.LabelFor(model => model.Title) %>
			</div>
			<div class="editor-field">
				<%: Html.TextBoxFor(model => model.Title) %>
				<%: Html.ValidationMessageFor(model => model.Title) %>
			</div>
			
			<div class="editor-label">
				<%: Html.LabelFor(model => model.Description) %>
			</div>
			<div class="editor-field">
				<%: Html.TextBoxFor(model => model.Description) %>
				<%: Html.ValidationMessageFor(model => model.Description) %>
			</div>            
			<p>
				<input type="submit" value="Create" />
			</p>
		</fieldset>
	<% } %>
	<div>
		<%: Html.ActionLink("Back to List", "Index") %>
	</div>

</asp:Content>

